<div id="primarycontent">

	<!-- primary content start -->

	<div class="post">
		<div class="header">
			<h3>Listing accounts</h3>
		</div>
		<div class="content">
			<table>
			  <tr>
			    <th>Name</th>
			    <th>Number</th>
				<th>Total</th>
			  </tr>
			
			<% for account in @accounts %>
			  <tr>
			    <td><%=h account.name %></td>
			    <td><%=h account.number %></td>
			    <td><%=h number_to_currency(account.total) %></td>				
			    <td><%= link_to 'Show', account %></td>
			    <td><%= link_to 'Edit', edit_account_path(account) %></td>
			    <td><%= link_to 'Destroy', account, :confirm => 'Are you sure?', :method => :delete %></td>
			  </tr>
			<% end %>
			</table>
			
			<br />
			
			<%= link_to 'New account', new_account_path %>
			
			<br />
			<br />
		</div>			
		<div class="footer">
		</div>
	</div>

	<!-- primary content end -->

</div>